package io.renren.service.xtd.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import io.renren.dao.xtd.DataContractXtdDaoXtd;
import io.renren.entity.xtd.DataContractXtdEntityXtd;
import io.renren.service.xtd.DataContractXtdServiceXtd;
import io.renren.service.impl.DataContractXtdServiceImpl;


@Service("dataContractXtdServiceXtd")
public class DataContractXtdServiceImplXtd extends DataContractXtdServiceImpl implements DataContractXtdServiceXtd {
	@Autowired
	private DataContractXtdDaoXtd dataContractXtdDaoXtd;

	@Override
	public void deleteAll() {
		// TODO Auto-generated method stub
		dataContractXtdDaoXtd.deleteAll();
		
	}

	@Override
	public void saveBatchXtd(List<Map<String, Object>> list) {
		// TODO Auto-generated method stub
		dataContractXtdDaoXtd.saveBatchXtd(list);
	}

	@Override
	public List<DataContractXtdEntityXtd> queryListXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractXtdDaoXtd.queryListXtd(map);
	}

	@Override
	public void deleteXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		dataContractXtdDaoXtd.deleteXtd(map);
		
	}
	
	public BigDecimal queryAssessmentAchi(Map<String,Object> map) {
		return dataContractXtdDaoXtd.queryAssessmentAchi(map);
	}
	
	public BigDecimal queryAssessmentCount(Map<String,Object> map) {
		return dataContractXtdDaoXtd.queryAssessmentCount(map);
	}
	
	public BigDecimal queryAssWithoutLease(Map<String,Object> map) {
		return dataContractXtdDaoXtd.queryAssWithoutLease(map);
	}

	@Override
	public List<DataContractXtdEntityXtd> getXtdByIDMonth(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractXtdDaoXtd.getXtdByIDMonth(map);
	}

	@Override
	public BigDecimal queryAssessmentCountShould(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractXtdDaoXtd.queryAssessmentCountShould(map);
	}
	
}
